package Arrayexer;

public class TestMain
{
	public static void main(String[] args)
	{
		System.out.println("====careinfo====");
		ClassAndGrade classgrade = new ClassAndGrade("卡尔学院", "大数据", 2018);
		System.out.println("==toString==" + classgrade);
		Students student = new Students("张三", 22, true, 175);
		System.out.println("==toString==" + student);
		System.out.println("=========================");
		/* ======================== */
		classgrade.creat(student);
//		classgrade.Retrieve();
		Students student1 = new Students("李四", 22, true, 176);
		classgrade.creat(student1);
		Students student2 = new Students("王二", 22, true, 176);
		classgrade.creat(student2);
		Students student3 = new Students("成功", 22, true, 176);
		classgrade.creat(1, student3);
		Students student4 = new Students("李伟", 23, true, 173);
		classgrade.Update(2, student4);
		int a  = classgrade.shuliang();
		System.out.println(a);
		classgrade.Retrieve();
	}
}
